import {requestClient} from '#/api/request';

export async function page(data: any) {
    return requestClient.post<any[]>('/asset/listNew', data);
}

export async function editApi(data: any) {
    return requestClient.post<any[]>('/asset/edit', data);
}

export async function exportApi(data: any) {
    return requestClient.download('/project/export?projectName='+data)
}


export async function importApi(data: any) {
    return requestClient.post<any[]>('/asset/edit', data);
}



